#pragma once
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <iostream>


using namespace std;

class Configuration
{
public:
	Configuration(void);
	~Configuration(void);

	char * getRestIp();	
	char * getRestUbic();
	char * getPort();
	char * getRestIp2();
	char * getRestUbic2();
	char * getPort2();
	char * getNameUser();
	char * getLogginUser();
	void setRestIp(char rest_ip[50]);
	void setRestUbic(char rest_ubic[50]);
	void setRestPort(char port[10]);
	void setRestIp2( char rest_ip2[50]);
	void setRestUbic2(char rest_ubic2[50]);
	void setRestPort2(char rest_port2[10]);
	void setNameUser(char name_user[50]);
	void setLogginUser(char loggin_user[50]);

private:
	char rest_ip[50];
	char rest_ubic[50];
	char port[10];

	char rest_ip2[50];
	char rest_ubic2[50];
	char port2[10];

	char name_user[50];
	char loggin_user[50];
	bool checkArgument(char * param);
};
